<template>
  <footer>
    <div class="container">
      <div class="footer-content">
        <div class="footer-section">
          <h3>关于我们</h3>
          <ul>
            <li><router-link to="#">团队介绍</router-link></li>
            <li><router-link to="#">加入我们</router-link></li>
            <li><router-link to="#">联系方式</router-link></li>
          </ul>
        </div>

        <div class="footer-section">
          <h3>学习资源</h3>
          <ul>
            <li><router-link to="#">教程文章</router-link></li>
            <li><router-link to="#">视频课程</router-link></li>
            <li><router-link to="#">实战项目</router-link></li>
          </ul>
        </div>

        <div class="footer-section">
          <h3>帮助支持</h3>
          <ul>
            <li><router-link to="#">常见问题</router-link></li>
            <li><router-link to="#">用户反馈</router-link></li>
            <li><router-link to="#">服务条款</router-link></li>
          </ul>
        </div>

        <div class="footer-section">
          <h3>关注我们</h3>
          <ul>
            <li><a href="#"><i class="fab fa-weibo"></i> 微博</a></li>
            <li><a href="#"><i class="fab fa-weixin"></i> 微信公众号</a></li>
            <li><a href="#"><i class="fab fa-github"></i> GitHub</a></li>
          </ul>
        </div>
      </div>

      <div class="copyright">
        &copy; 2023 CodeLearn 学习社区. 保留所有权利.
      </div>
    </div>
  </footer>
</template>

<script setup lang="ts">
// Footer纯展示，无逻辑
</script>

<style scoped>
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
}
.footer-section a:hover {
  color: #fc5531;
}
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  margin-top: 20px;
  font-size: 14px;
  color: #95a5a6;
}
</style>
